﻿namespace com.binance.client.model
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	/// <summary>
	/// @author : wangwanlu
	/// @since : 2020/3/25, Wed
	/// 
	/// </summary>
	public class ResponseResult
	{

		private int code;

		private string msg;

		public ResponseResult()
		{
		}

		public ResponseResult(int code, string msg)
		{
			this.code = code;
			this.msg = msg;
		}

		public virtual int Code
		{
			get
			{
				return code;
			}
			set
			{
				this.code = value;
			}
		}


		public virtual string Msg
		{
			get
			{
				return msg;
			}
			set
			{
				this.msg = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("code", code).append("msg", msg).ToString();
		}
	}

}